package com.arpa.ntocc.common.common.exception;

/**
 * 角色异常
 * @Author liuyj
 * @Date 2019-11-07 17:29:26
 */
public class RoleException extends RuntimeException {

	private String role;

	public RoleException(){
		super();
	}

	public RoleException(String permission){
		super();
		this.role=permission;
	}

	@Override
	public String getMessage() {
		return "缺少角色： " + this.role ;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}
}
